package com.dianning.service.imp;

import java.util.*;

import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.Log;

import com.dianning.bean.Config;
import com.dianning.dao.ConfigDAO;
import com.dianning.service.ConfigService;


public class ConfigServiceImp implements ConfigService {

  private static final Log logger = LogFactory.getLog(ConfigServiceImp.class);

  private ConfigDAO configDAO;
  

  public ConfigDAO getConfigDAO() {
    return configDAO;
  }

  public void setConfigDAO(ConfigDAO configDAO) {
    this.configDAO = configDAO;
  }

  /**
   * 根据ID查找Config对象
   * @param id String
   * @return Config
   */
  public Config findConfigByID(String id) {
    return this.getConfigDAO().findConfigByID(id);
  }

}
